package com.wxj.edu.mapper;

import com.wxj.edu.entity.Course;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wxj.edu.entity.frontvo.CourseWebVo;
import com.wxj.edu.entity.vo.CoursePublishVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author wxj
 * @since 2021-03-10
 */
public interface CourseMapper extends BaseMapper<Course> {

    public CoursePublishVo getPublishCourseInfo(String courseId);

    CourseWebVo getBaseCourseInfo(String courseId);

    String findTeacherId(String id);
}
